﻿<%@ Page Language="C#" MasterPageFile="~/Template/Detail.master" AutoEventWireup="true"
    CodeFile="RoomApplyView.aspx.cs" Inherits="NewMeetingRoom_RoomApplyView" Title="Untitled Page" %>

<%@ Register Src="~/Control/ListHeader.ascx" TagName="ListHeader" TagPrefix="wsc" %>
<%@ Register Src="~/Control/TabberHeader.ascx" TagName="TabberHeader" TagPrefix="wsc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style>
        .TableItem { background-color: #FBFBFB; text-align: center; padding: 3px; }
        strong { color: #666666; font-family: Verdana,Arial,Helvetica,sans-serif; }
    </style>
 <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script>
        function ShowMessage() {
            OpenDialog('../Car/Message.aspx?ApplyID=<%=Request["ApplyID"] %>&UserType=<%=Request["UserType"] %>&Source=Room', "", "");
       

        function OpenDialog(url, iWidth, iHeight) {
            iWidth = 400;
            iHeight = 300;
            var iLeft = (window.screen.width - iWidth) / 2;
            var iTop = (window.screen.height - iHeight) / 2;
            if (url.indexOf('?') > 0)
                url = url + "&nc=" + Math.random();
            else
                url = url + "?nc=" + Math.random();
            window.showModalDialog(url, window, "dialogTop:" + iTop + "px;dialogLeft:" + iLeft + "px;dialogWidth:" + iWidth + "px;dialogHeight:" + iHeight + "px;status:no; directories:yes; scrollbars:no; Resizable=no; help: no;");
        }
    </script>

    <script>
        function SelectPLUser() {
            var returnValue = window.showModalDialog("../Function.Web/UserChooser.aspx?SelectType=User&nocache=" + Math.random() * 10000 + "&ReturnValueFormat="
            + encodeURI("<%=txtRemark1.ClientID%>:ID|<%=txtRemark1.ClientID%>:Name|<%=txtRemark1.ClientID %>:DisplayName"),
            document, "dialogWidth:800px;dialogHeight:600px;status:yes;resizable:no");
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ListToolBarPlaceHolder" runat="Server">
    <table cellspacing="2" cellpadding="0" border="0" width="100%">
        <tr>
            <td id="tdCancel" runat="server" class="ToolMenu" width="60">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="btnCancel" OnClick="btnCancel_Click" OnClientClick="return confirm('确定要取消申请?')">
                    <span><img src="../Images/Icon/Action/delete.gif" /></span><span>取消申请</span></asp:LinkButton></div>
            </td>
            <td id="fg0" runat="server" class="Fg" visible="false">
                <img src="<%=ResolveUrl("~/Images/FgLine.gif") %>" alt="" />
            </td>
            <td id="tdPass" runat="server" class="ToolMenu" width="60" visible="false">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="btnPass" OnClick="btnPass_Click" OnClientClick="return confirm('确定要审核通过?')">
                    <span><img src="../Images/Icon/Action/enable.gif" /></span><span>通过</span></asp:LinkButton></div>
            </td>
            <td id="fg1" runat="server" class="Fg" visible="false">
                <img src="<%=ResolveUrl("~/Images/FgLine.gif") %>" alt="" />
            </td>
            <td id="tdReject" runat="server" class="ToolMenu" width="60" visible="false">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="btnReject" OnClick="btnReject_Click" OnClientClick="return confirm('确定要不通过?')">
                    <span><img src="../Images/Icon/Action/error.gif" /></span><span>不通过</span></asp:LinkButton></div>
            </td>
            <td id="fg2" runat="server" class="Fg" visible="false">
                <img src="<%=ResolveUrl("~/Images/FgLine.gif") %>" alt="" />
            </td>
            <td id="tdCancel2" runat="server" class="ToolMenu" width="60" visible="false">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="btnCancel2" OnClick="btnCancel2_Click" OnClientClick="return confirm('确定要取消占用?')">
                    <span><img src="../Images/Icon/Object/property-cancel.gif" /></span><span>取消占用</span></asp:LinkButton></div>
            </td>
            <td id="fg3" runat="server" class="Fg" visible="false">
                <img src="<%=ResolveUrl("~/Images/FgLine.gif") %>" alt="" />
            </td>
            <td class="ToolMenu" runat="server" id="tdClose" visible="false" width="60">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="btnClose" OnClientClick="window.close();return false">
                    <span><img src="../Images/Icon/Action/delete.gif" /></span><span>关 闭</span></asp:LinkButton></div>
            </td>
            <td id="fg4" runat="server" class="Fg" visible="false">
                <img src="<%=ResolveUrl("~/Images/FgLine.gif") %>" alt="" />
            </td>
            <td id="tdModify" runat="server" class="ToolMenu" width="60" visible="false">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="LinkButton1" OnClick="btnModify_Click" OnClientClick="return confirm('确定修改已审核通过的信息?')">
                    <span><img src="../Images/Icon/Action/enable.gif" /></span><span>修改</span></asp:LinkButton></div>
            </td>
            <td id="fg5" runat="server" class="Fg" visible="false">
                <img src="<%=ResolveUrl("~/Images/FgLine.gif") %>" alt="" />
            </td>
            <td id="tdMessage" runat="server" class="ToolMenu" width="60" visible="false">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="LinkButton2" OnClientClick="ShowMessage();return false">
                    <span><img src="../Images/Icon/Action/send.png" /></span><span>发送短信</span></asp:LinkButton></div>
            </td>
            <td width="100%">
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TitleContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="InfoContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="TextContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="TabberContentPlaceHolder" runat="Server">
    <wsc:TabberHeader ID="thInfo" runat="server" DivID="div1" Title="详细信息" Selected="true" />
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Div1ContentPlaceHolder" runat="Server">
    <div class="EditPageForm" style="padding-top: 8px; width: 98%; overflow-y: auto;"
        id="EditPageForm">
        <table class="Table" cellspacing="0" cellpadding="4" width="98%" border="0">
            <tr>
                <td width="25%" class="TableItem">
                    <strong>
                        <%=Wicresoft.Busi.BizLogic.Util.SceneName%>：</strong>
                </td>
                <td width="75%">
                    <%--<asp:Literal runat="server" ID="ltRoomName"></asp:Literal>--%>
                    <asp:DropDownList ID="ddlRoom" runat="server" Width="250px" CssClass="SelectBox01"
                        Enabled="false">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>会议人数：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltHyrs"></asp:Literal>
                    <asp:TextBox ID="txtPeopCount" runat="server" Width="60px" CssClass="TextBox01" MaxLength="4"
                        Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>申办部门：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltSbbm"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>联系人：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltRemark4"></asp:Literal>
                    <asp:TextBox ID="txtRemark4" runat="server" Width="250px" CssClass="TextBox01" MaxLength="15"
                        Rows="1" Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>联系电话：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltRemark3"></asp:Literal>
                    <asp:TextBox ID="tbPhone" runat="server" Width="250px" CssClass="TextBox01" MaxLength="15"
                        Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>会议名称：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltTopic"></asp:Literal>
                    <asp:TextBox ID="txtTopic" runat="server" Width="250px" CssClass="TextBox01" MaxLength="50"
                        Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>会议时间：</strong>
                </td>
                <td>
                    <asp:TextBox ID="txtDate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'});" runat="server"
                        Width="80px" CssClass="TextBox01"></asp:TextBox>
                    <asp:DropDownList ID="ddlStartTime" runat="server" Width="61px" CssClass="SelectBox01">
                    </asp:DropDownList>
                    －<asp:DropDownList ID="ddlEndTime" runat="server" Width="61px" CssClass="SelectBox01">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>会议会标：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltHyhb" ></asp:Literal>
                    <asp:TextBox ID="txtHyhb" runat="server" Width="250px" CssClass="TextBox01" MaxLength="50"
                        Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>欢迎词：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltHyc" ></asp:Literal>
                    <asp:TextBox ID="txtHyc" runat="server" Width="250px" CssClass="TextBox01" MaxLength="50"
                        Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>指示牌：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltZsp"></asp:Literal>
                    <asp:TextBox ID="txtZsp" runat="server" Width="250px" CssClass="TextBox01" MaxLength="50"
                        Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>席卡：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltXk" ></asp:Literal>
                    <asp:TextBox ID="txtXk" runat="server" Width="250px" CssClass="TextBox01" MaxLength="50"
                        Visible="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableItem">
                    <strong>出席领导：</strong>
                </td>
                <td>
                    <asp:Literal runat="server" ID="ltRemark1"></asp:Literal>
                    <asp:TextBox ID="txtRemark1" runat="server" Width="250px" CssClass="TextBox01" MaxLength="100"
                        onfocus="SelectPLUser()" Visible="false" ></asp:TextBox>
                    <div style="display: none;">
                        <input type="text" runat="server" id="tbLeaderID" /><input type="text" runat="server"
                            id="tbLeaderName" />
                    </div>
 
    </td> </tr>
    <tr>
        <td class="TableItem">
            <strong>出席对象：</strong>
        </td>
        <td>
            <asp:Literal runat="server" ID="ltAttendee" ></asp:Literal>
            <asp:TextBox ID="txtRemark3" runat="server" Width="250px" CssClass="TextArea01" TextMode="MultiLine"
                Rows="3" Visible="false"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="TableItem">
            <strong>会议提醒：</strong>
        </td>
        <td>
            <asp:CheckBox ID="cbImportance" runat="server" Text="重要会议提醒" />
        </td>
    </tr>
    <tr>
        <td class="TableItem">
            <strong>类型：</strong>
        </td>
        <td>
            <asp:DropDownList ID="ddlType" runat="server" Width="120px" CssClass="TextBox01"
                AutoPostBack="True">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="TableItem">
            <strong>会场要求：</strong>
        </td>
        <td>
            <asp:CheckBoxList ID="cblGoods" runat="server" RepeatDirection="Horizontal" RepeatColumns="5"
                CssClass="NoBorder">
            </asp:CheckBoxList>
        </td>
    </tr>
    <tr>
        <td class="TableItem">
            <strong>备注<br />
                (不超过500字)：</strong>
        </td>
        <td>
            <asp:Literal runat="server" ID="ltNote" ></asp:Literal>
            <asp:TextBox ID="txtNote" runat="server" Width="250px" CssClass="TextBox01" Rows="3"
                Visible="false" TextMode="MultiLine" Height="100px"></asp:TextBox>
        </td>
    </tr>
    <tr runat="server" id="trShyj">
        <td class="TableItem">
            <strong>审核意见：</strong>
        </td>
        <td>
            <asp:Literal runat="server" ID="ltShyj"></asp:Literal>
            <asp:TextBox ID="txtShyj" runat="server" Width="250px" CssClass="TextArea01" Rows="3"
                Visible="false" TextMode="MultiLine"></asp:TextBox>
        </td>
    </tr>
    <tr style="display: none">
        <td class="TableItem" align="left">
            <strong>会期：</strong>
        </td>
        <td class="NoBorder">
            <asp:RadioButtonList ID="rblDuration" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem Value="半天" Selected="True">半天</asp:ListItem>
                <asp:ListItem Value="全天">全天</asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
    </table> </div>
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="Div2ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="Div3ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="Div4ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content11" ContentPlaceHolderID="Div5ContentPlaceHolder" runat="Server">
</asp:Content>
